
#pragma once

#include "params.h"

class WebServer {
public:
	WebServer();
	WebServer( const Params &params, const MimeTypes & mimetypes );
	~WebServer() throw();
	
	void run();
	void reconfigure( const Params &params, const MimeTypes & mimetypes );
	void configure( const Params &params, const MimeTypes & mimetypes );
private:
	struct Impl;
	Impl *_pimpl;
};